package com.example.agriculyural.Strategy;

import com.example.agriculyural.Observer.EnvironmentData;
import com.example.agriculyural.Strategy.PathPlanningStrategy;

public class BadWeatherStrategy implements PathPlanningStrategy {
    @Override
    public void planPath(EnvironmentData data) {
        System.out.println("执行恶劣天气路径规划 - 降低速度，缩短路径，风速: " + data.getWindSpeed() + "m/s");
    }
}